package Repository;

import java.util.Collection;
import java.util.List;


public abstract class Repository{
	public Repository(){}
	
	public abstract void insert(Long id, Object obj);
	public abstract void delete(Long id);
	public abstract Object retrieve(Long id);
	public abstract void update(Long id, Object obj);
	public abstract Object retrieve(String objectType, String ruleType);
	public abstract List retrieve(String state);
	public abstract boolean find(String objName);
	public abstract Collection retrieveAll();
	
}
